package io.coderyeah.system.mapper;

import io.coderyeah.system.domain.Permission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author coderyeah
 * @description 针对表【t_permission】的数据库操作Mapper
 * @createDate 2022-09-21 11:00:07
 * @Entity io.coderyeah.system.domain.Permission
 */
@Repository
public interface PermissionMapper extends BaseMapper<Permission> {

    void addRolePermission(@Param("roleId") Long roleId, @Param("permissions") List<Long> permissions);
}




